package com.yule.system.model;

import java.util.ArrayList;
import java.util.List;

public class CorpInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CorpInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCorpNameIsNull() {
            addCriterion("corp_name is null");
            return (Criteria) this;
        }

        public Criteria andCorpNameIsNotNull() {
            addCriterion("corp_name is not null");
            return (Criteria) this;
        }

        public Criteria andCorpNameEqualTo(String value) {
            addCriterion("corp_name =", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotEqualTo(String value) {
            addCriterion("corp_name <>", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameGreaterThan(String value) {
            addCriterion("corp_name >", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameGreaterThanOrEqualTo(String value) {
            addCriterion("corp_name >=", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameLessThan(String value) {
            addCriterion("corp_name <", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameLessThanOrEqualTo(String value) {
            addCriterion("corp_name <=", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameLike(String value) {
            addCriterion("corp_name like", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotLike(String value) {
            addCriterion("corp_name not like", value, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameIn(List<String> values) {
            addCriterion("corp_name in", values, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotIn(List<String> values) {
            addCriterion("corp_name not in", values, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameBetween(String value1, String value2) {
            addCriterion("corp_name between", value1, value2, "corpName");
            return (Criteria) this;
        }

        public Criteria andCorpNameNotBetween(String value1, String value2) {
            addCriterion("corp_name not between", value1, value2, "corpName");
            return (Criteria) this;
        }

        public Criteria andContactsIsNull() {
            addCriterion("contacts is null");
            return (Criteria) this;
        }

        public Criteria andContactsIsNotNull() {
            addCriterion("contacts is not null");
            return (Criteria) this;
        }

        public Criteria andContactsEqualTo(String value) {
            addCriterion("contacts =", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotEqualTo(String value) {
            addCriterion("contacts <>", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsGreaterThan(String value) {
            addCriterion("contacts >", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsGreaterThanOrEqualTo(String value) {
            addCriterion("contacts >=", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLessThan(String value) {
            addCriterion("contacts <", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLessThanOrEqualTo(String value) {
            addCriterion("contacts <=", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLike(String value) {
            addCriterion("contacts like", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotLike(String value) {
            addCriterion("contacts not like", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsIn(List<String> values) {
            addCriterion("contacts in", values, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotIn(List<String> values) {
            addCriterion("contacts not in", values, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsBetween(String value1, String value2) {
            addCriterion("contacts between", value1, value2, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotBetween(String value1, String value2) {
            addCriterion("contacts not between", value1, value2, "contacts");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameIsNull() {
            addCriterion("login_corp_name is null");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameIsNotNull() {
            addCriterion("login_corp_name is not null");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameEqualTo(String value) {
            addCriterion("login_corp_name =", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameNotEqualTo(String value) {
            addCriterion("login_corp_name <>", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameGreaterThan(String value) {
            addCriterion("login_corp_name >", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameGreaterThanOrEqualTo(String value) {
            addCriterion("login_corp_name >=", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameLessThan(String value) {
            addCriterion("login_corp_name <", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameLessThanOrEqualTo(String value) {
            addCriterion("login_corp_name <=", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameLike(String value) {
            addCriterion("login_corp_name like", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameNotLike(String value) {
            addCriterion("login_corp_name not like", value, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameIn(List<String> values) {
            addCriterion("login_corp_name in", values, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameNotIn(List<String> values) {
            addCriterion("login_corp_name not in", values, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameBetween(String value1, String value2) {
            addCriterion("login_corp_name between", value1, value2, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andLoginCorpNameNotBetween(String value1, String value2) {
            addCriterion("login_corp_name not between", value1, value2, "loginCorpName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameIsNull() {
            addCriterion("driver_class_name is null");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameIsNotNull() {
            addCriterion("driver_class_name is not null");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameEqualTo(String value) {
            addCriterion("driver_class_name =", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameNotEqualTo(String value) {
            addCriterion("driver_class_name <>", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameGreaterThan(String value) {
            addCriterion("driver_class_name >", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameGreaterThanOrEqualTo(String value) {
            addCriterion("driver_class_name >=", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameLessThan(String value) {
            addCriterion("driver_class_name <", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameLessThanOrEqualTo(String value) {
            addCriterion("driver_class_name <=", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameLike(String value) {
            addCriterion("driver_class_name like", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameNotLike(String value) {
            addCriterion("driver_class_name not like", value, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameIn(List<String> values) {
            addCriterion("driver_class_name in", values, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameNotIn(List<String> values) {
            addCriterion("driver_class_name not in", values, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameBetween(String value1, String value2) {
            addCriterion("driver_class_name between", value1, value2, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDriverClassNameNotBetween(String value1, String value2) {
            addCriterion("driver_class_name not between", value1, value2, "driverClassName");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlIsNull() {
            addCriterion("datasource_url is null");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlIsNotNull() {
            addCriterion("datasource_url is not null");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlEqualTo(String value) {
            addCriterion("datasource_url =", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlNotEqualTo(String value) {
            addCriterion("datasource_url <>", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlGreaterThan(String value) {
            addCriterion("datasource_url >", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlGreaterThanOrEqualTo(String value) {
            addCriterion("datasource_url >=", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlLessThan(String value) {
            addCriterion("datasource_url <", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlLessThanOrEqualTo(String value) {
            addCriterion("datasource_url <=", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlLike(String value) {
            addCriterion("datasource_url like", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlNotLike(String value) {
            addCriterion("datasource_url not like", value, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlIn(List<String> values) {
            addCriterion("datasource_url in", values, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlNotIn(List<String> values) {
            addCriterion("datasource_url not in", values, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlBetween(String value1, String value2) {
            addCriterion("datasource_url between", value1, value2, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUrlNotBetween(String value1, String value2) {
            addCriterion("datasource_url not between", value1, value2, "datasourceUrl");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameIsNull() {
            addCriterion("datasource_username is null");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameIsNotNull() {
            addCriterion("datasource_username is not null");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameEqualTo(String value) {
            addCriterion("datasource_username =", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameNotEqualTo(String value) {
            addCriterion("datasource_username <>", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameGreaterThan(String value) {
            addCriterion("datasource_username >", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("datasource_username >=", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameLessThan(String value) {
            addCriterion("datasource_username <", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameLessThanOrEqualTo(String value) {
            addCriterion("datasource_username <=", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameLike(String value) {
            addCriterion("datasource_username like", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameNotLike(String value) {
            addCriterion("datasource_username not like", value, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameIn(List<String> values) {
            addCriterion("datasource_username in", values, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameNotIn(List<String> values) {
            addCriterion("datasource_username not in", values, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameBetween(String value1, String value2) {
            addCriterion("datasource_username between", value1, value2, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourceUsernameNotBetween(String value1, String value2) {
            addCriterion("datasource_username not between", value1, value2, "datasourceUsername");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordIsNull() {
            addCriterion("datasource_password is null");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordIsNotNull() {
            addCriterion("datasource_password is not null");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordEqualTo(String value) {
            addCriterion("datasource_password =", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordNotEqualTo(String value) {
            addCriterion("datasource_password <>", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordGreaterThan(String value) {
            addCriterion("datasource_password >", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordGreaterThanOrEqualTo(String value) {
            addCriterion("datasource_password >=", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordLessThan(String value) {
            addCriterion("datasource_password <", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordLessThanOrEqualTo(String value) {
            addCriterion("datasource_password <=", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordLike(String value) {
            addCriterion("datasource_password like", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordNotLike(String value) {
            addCriterion("datasource_password not like", value, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordIn(List<String> values) {
            addCriterion("datasource_password in", values, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordNotIn(List<String> values) {
            addCriterion("datasource_password not in", values, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordBetween(String value1, String value2) {
            addCriterion("datasource_password between", value1, value2, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andDatasourcePasswordNotBetween(String value1, String value2) {
            addCriterion("datasource_password not between", value1, value2, "datasourcePassword");
            return (Criteria) this;
        }

        public Criteria andUseNumIsNull() {
            addCriterion("use_num is null");
            return (Criteria) this;
        }

        public Criteria andUseNumIsNotNull() {
            addCriterion("use_num is not null");
            return (Criteria) this;
        }

        public Criteria andUseNumEqualTo(Integer value) {
            addCriterion("use_num =", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumNotEqualTo(Integer value) {
            addCriterion("use_num <>", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumGreaterThan(Integer value) {
            addCriterion("use_num >", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("use_num >=", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumLessThan(Integer value) {
            addCriterion("use_num <", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumLessThanOrEqualTo(Integer value) {
            addCriterion("use_num <=", value, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumIn(List<Integer> values) {
            addCriterion("use_num in", values, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumNotIn(List<Integer> values) {
            addCriterion("use_num not in", values, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumBetween(Integer value1, Integer value2) {
            addCriterion("use_num between", value1, value2, "useNum");
            return (Criteria) this;
        }

        public Criteria andUseNumNotBetween(Integer value1, Integer value2) {
            addCriterion("use_num not between", value1, value2, "useNum");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceIsNull() {
            addCriterion("sky_drive_space is null");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceIsNotNull() {
            addCriterion("sky_drive_space is not null");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceEqualTo(Integer value) {
            addCriterion("sky_drive_space =", value, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceNotEqualTo(Integer value) {
            addCriterion("sky_drive_space <>", value, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceGreaterThan(Integer value) {
            addCriterion("sky_drive_space >", value, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceGreaterThanOrEqualTo(Integer value) {
            addCriterion("sky_drive_space >=", value, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceLessThan(Integer value) {
            addCriterion("sky_drive_space <", value, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceLessThanOrEqualTo(Integer value) {
            addCriterion("sky_drive_space <=", value, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceIn(List<Integer> values) {
            addCriterion("sky_drive_space in", values, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceNotIn(List<Integer> values) {
            addCriterion("sky_drive_space not in", values, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceBetween(Integer value1, Integer value2) {
            addCriterion("sky_drive_space between", value1, value2, "skyDriveSpace");
            return (Criteria) this;
        }

        public Criteria andSkyDriveSpaceNotBetween(Integer value1, Integer value2) {
            addCriterion("sky_drive_space not between", value1, value2, "skyDriveSpace");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}